﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="CancelTicket.aspx.cs" Inherits="AirplaneReservation.CancelTicket" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style8
        {
        }
        .style9
        {
            width: 288px;
        }
        .style11
        {
            width: 247px;
        }
        .style12
        {
            width: 266px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderLeft" runat="server">
    <table style="width:100%;" cellspacing="3px" cellpadding="3px">
        <tr>
            <td align="right" class="style9" valign="top">
                Booking/ Confirmation No.</td>
            <td>
                <asp:TextBox ID="ticketNo" runat="server" style="margin-left: 0px" 
                    Width="217px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                    ErrorMessage="Please  enter the status ticket no." ForeColor="Red" 
                    ValidationGroup="ticket" ControlToValidate="ticketNo"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style9" align="right">
                &nbsp;</td>
            <td align="center">
                <asp:Button ID="Button1" runat="server" Text="Cancel" Font-Bold="True" 
                    onclick="Button1_Click" ValidationGroup="ticket" />
            &nbsp;</td>
        </tr>
        <tr>
            <td class="style8" align="center" colspan="2">
                <asp:Label ID="cancellationNo" runat="server" ForeColor="Red" 
                    Font-Size="Medium"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style8" align="center" colspan="2">
                <asp:Panel ID="Panel1" runat="server">
                    <table style="width:100%;">
                        <tr>
                            <td colspan="2">
                                <asp:GridView ID="GridView1" runat="server" CellPadding="1" CellSpacing="1" 
                                    ForeColor="#333333" GridLines="None" onrowcreated="GridView1_RowCreated">
                                    <AlternatingRowStyle BackColor="White" />
                                    <EditRowStyle BackColor="#2461BF" />
                                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                    <RowStyle BackColor="#EFF3FB" Font-Size="Smaller" ForeColor="Black" />
                                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="style12">
                                % amount would&nbsp; be refund</td>
                            <td align="left">
                                <asp:TextBox ID="TextBox1" runat="server" ReadOnly="True"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="style12">
                                Rules of cancelling ticket</td>
                            <td align="left">
                                <asp:TextBox ID="TextBox2" runat="server" Height="87px" ReadOnly="True" 
                                    TextMode="MultiLine" Width="216px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" class="style12">
                                &nbsp;</td>
                            <td align="center">
                                <asp:Button ID="cancelT" runat="server" Font-Bold="True" 
                                    onclick="cancelT_Click" Text="Cancel Ticket" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        </table>
</asp:Content>
